﻿using System;

namespace Oscilloscope.ChannelBuffer
{
	// Token: 0x02000006 RID: 6
	internal class EmptyChannelBuffer : IChannelBuffer, IDisposable
	{
		// Token: 0x0600001A RID: 26 RVA: 0x00003597 File Offset: 0x00001797
		public double GetTimeInterval()
		{
			return this.DEFAULT_TIME_INTERVAL;
		}

		// Token: 0x0600001B RID: 27 RVA: 0x0000359F File Offset: 0x0000179F
		public double GetTotalTime()
		{
			return this.DEFAULT_TOTAL_TIME;
		}

		// Token: 0x0600001C RID: 28 RVA: 0x000035A7 File Offset: 0x000017A7
		public int GetData(double startTime, double endTime, ChannelBufferData[] buffer, int offset, ref double timeOfFirstData)
		{
			return 0;
		}

		// Token: 0x0600001D RID: 29 RVA: 0x000035AA File Offset: 0x000017AA
		public int GetDataCount(double startTime, double endTime)
		{
			return 0;
		}

		// Token: 0x0600001E RID: 30 RVA: 0x000035AD File Offset: 0x000017AD
		public void Dispose()
		{
		}

		// Token: 0x0600001F RID: 31 RVA: 0x000035AF File Offset: 0x000017AF
		public double GetReferenceValue()
		{
			return 0.0;
		}

		// Token: 0x06000020 RID: 32 RVA: 0x000035BA File Offset: 0x000017BA
		public SignalType GetSignalType()
		{
			return SignalType.AnalogSigned;
		}

		// Token: 0x06000021 RID: 33 RVA: 0x000035BD File Offset: 0x000017BD
		public void AddSampleData(short? data)
		{
		}

		// Token: 0x06000022 RID: 34 RVA: 0x000035BF File Offset: 0x000017BF
		public IChannelBuffer Copy()
		{
			return this;
		}

		// Token: 0x06000023 RID: 35 RVA: 0x000035C2 File Offset: 0x000017C2
		public void CopyTo(IChannelBuffer desChannelBuffer)
		{
		}

		// Token: 0x04000003 RID: 3
		private readonly double DEFAULT_TIME_INTERVAL = 0.001;

		// Token: 0x04000004 RID: 4
		private readonly double DEFAULT_TOTAL_TIME;
	}
}
